package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.SerialNumFlowBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface SerialNumFlowService extends BaseService<SerialNumFlowBean> {

	SerialNumFlowBean getSerialNumFlowBeanById(String id) throws Exception;
	
	void removeSerialNumFlowBeanById(String id) throws Exception;
	
	void removeSerialNumFlowBeanByIds(String ids) throws Exception;
	
	SerialNumFlowBean saveSerialNumFlowBean(SerialNumFlowBean crm) throws Exception;
	
	SerialNumFlowBean updateSerialNumFlowBean(SerialNumFlowBean crm) throws Exception;
	
	Page<SerialNumFlowBean>  findSerialNumFlowBeanByCond(SerialNumFlowBean bean,
			Page<SerialNumFlowBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveSerialNumFlowBeanExt(String sql) throws Exception;

	String findSerialNumFlowBeanExtCreate(String tableName) throws Exception;

	String findSerialNumFlowBeanExtEdit(String tableName, String id)
			throws Exception;

	String findSerialNumFlowBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasSerialNumFlowBeanExtData(String tableName, String id)
			throws Exception;
}